package org.charmsoft.validation;

import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.HashMap;
import java.util.Map;

/**
 * @ Author: Allen J L Chen
 * This enum is to
 * 26/3/2025
 **/

public class ValidationWrapper {

    private Map<Cell, ValidationErrorCode> validationMap = new HashMap<>();

    private Map<String, XSSFWorkbook> validWorkbookMap = new HashMap<>();

    private Map<String, Map<String, XSSFWorkbook>> invalidWorkbookMap = new HashMap<>();

    public Map<Cell, ValidationErrorCode> getValidationMap() {
        return validationMap;
    }

    public void setValidationMap(Map<Cell, ValidationErrorCode> validationMap) {
        this.validationMap = validationMap;
    }

    public Map<String, XSSFWorkbook> getValidWorkbookMap() {
        return validWorkbookMap;
    }

    public void setValidWorkbookMap(Map<String, XSSFWorkbook> validWorkbookMap) {
        this.validWorkbookMap = validWorkbookMap;
    }

    public Map<String, Map<String, XSSFWorkbook>> getInvalidWorkbookMap() {
        return invalidWorkbookMap;
    }

    public void setInvalidWorkbookMap(Map<String, Map<String, XSSFWorkbook>> invalidWorkbookMap) {
        this.invalidWorkbookMap = invalidWorkbookMap;
    }
}
